package cn.hxlc.tie.demo.modular.zr.equipmentzr.service;/*
 @author rui
 @date 2021/6/28 --18:59
*/

import cn.hxlc.tie.demo.core.enums.StatusEnum;
import cn.hxlc.tie.demo.modular.zr.equipmentzr.entity.Equipment;
import cn.hxlc.tie.demo.modular.zr.equipmentzr.model.param.EquipmentParam;
import cn.hxlc.tie.demo.modular.zr.equipmentzr.model.result.EquipmentResult;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface EquipmentService extends IService<Equipment> {
    PageResult<EquipmentResult> queryListPage(EquipmentParam equipmentParam);


    void addOne(EquipmentParam equipmentParam);



    EquipmentResult detail(Long fid);

    void delete(EquipmentParam equipmentParam);



    Boolean batchEdit(List<EquipmentParam> equipmentParam);

    void batchChangeState(Object[] fid, StatusEnum toEnum);

    void updateOne(EquipmentParam equipmentParam);

    EquipmentResult detailList(Long fid);

    /* EquipmentResult detailFactory(Long ffactoryid);*/
}
